<?php echo $this->fetch('header.html'); ?>    

<style>
    .shop_detail{color:#999; font-size:14px;}
    .shop_detail img{width:100%;  margin:0 auto ;}
    .shop_detail table{border-collapse: collapse; width:100%;}
    .shop_img_bg{background:#333; height:200px; position:absolute; top:45px; width:100%; left:0; z-index:-1;}
    .nav_btn_img{padding:8px 15px;background: linear-gradient(#FFFFFF, #F1F1F1) repeat scroll 0 0 #EEEEEE;color: #222222;font-weight: bold;text-shadow: 0 1px 0 #FFFFFF;position: relative;}
    .nav_btn_img .t {font-size: 14px;color: #666;}
    .nav_btn_img .s {bottom: 15px;color: #BBBBBB;font-size: 13px;left: 15px;overflow: hidden;position: absolute;width: 70%;}
    .header3{text-align:center; line-height:45px;}
</style>
        <div class="header_fixed">
        <div class="header clearfix">
            <a href="javascript:history.back(-1);" class="iconfont l_b">&#xf0115;</a>
            <div class="header-search">
                <form>
                    <input type="hidden" name="app" value="article">
                        <input type="hidden" name="act" value="index">
                <input type="submit" class="iconfont search-icon" value="&#xf00d9;">
                <input type="text" name="keyword" autocomplete="off" class="search-input" value="<?php echo $_GET['keyword']; ?>" placeholder="搜索文章" maxlength="20">
                </form>
            </div>
            <a href="javascript:void(0)" class="iconfont menu r_b">&#xf00a6;</a>
        </div>
        </div>
        <div class="header_wrap"></div>
<div class="shop_detail">
    <?php if ($this->_var['articles']): ?>
    <ul>
        <?php $_from = $this->_var['articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'article');if (count($_from)):
    foreach ($_from AS $this->_var['article']):
?>
        <li class="nav_btn_img">
            <a href="<?php echo url('app=article&act=view&article_id=' . $this->_var['article']['article_id']. ''); ?>">
                <span class="t"><?php echo $this->_var['article']['title']; ?></span>

            </a>
        </li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
    <?php echo $this->fetch('page.bottom.html'); ?>
    <?php else: ?>
    <div class="null">
        <p>没有符合条件的记录</p>
    </div>
    <?php endif; ?>
</div>
<div id="classifyPanel">
    <div class="sub_menu">
        <p class="shop_name"><?php echo htmlspecialchars($this->_var['store']['store_name']); ?></p>
        <ul>
            <?php $_from = $this->_var['acategories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'acategory');if (count($_from)):
    foreach ($_from AS $this->_var['acategory']):
?>
            <a href="<?php echo url('app=article&cate_id=' . $this->_var['acategory']['id']. ''); ?>">
                <li>
                    <em></em><span><?php echo htmlspecialchars($this->_var['acategory']['value']); ?></span>
                </li>
            </a>
            <?php if ($this->_var['acategory']['children']): ?>
            <?php $_from = $this->_var['acategory']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'acate_son');if (count($_from)):
    foreach ($_from AS $this->_var['acate_son']):
?>
            <a href="<?php echo url('app=article&cate_id=' . $this->_var['acate_son']['id']. ''); ?>">
                <li>
                    <span>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo htmlspecialchars($this->_var['acate_son']['value']); ?></span>
                </li>
            </a>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
            <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </ul>
        <div class="classify_arrow"></div>
    </div>
    <div class="mask_area"></div>
</div>

<?php echo $this->fetch('footer.html'); ?>
